package com.xxx.client.android.api.impl;

import org.ksoap2.serialization.SoapObject;

import com.xxx.client.android.api.MarqueeVO;

public class MarqueeVOBuilder extends SOAPBuilder<MarqueeVO> {

	@Override
	public MarqueeVO build(SoapObject soapObject) throws RuntimeException {
		MarqueeVO vo = new MarqueeVO();
		vo.setMarqueeId(Integer.valueOf(soapObject.getProperty("marqueeId")
				.toString()));
		vo.setMarqueeContent(soapObject.getProperty("marqueeContent")
				.toString());
		vo.setMarqueeOrderShow(Integer.valueOf(soapObject.getProperty(
				"marqueeOrderShow").toString()));
		return vo;
	}

}
